/*
 * CollectShopContract.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.collect.shop;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.event.CollectShopEvent;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.interfaces.RefreshListener;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/** 我的 收藏 */
public class CollectShopContract {

    interface Presenter extends BasePresenter {
        void getCollectionData(boolean isRefresh);

        void collectShop(CollectShopEvent event);
    }

    interface View
            extends BaseView<Presenter>,
            RefreshLayoutStateListener,
            RefreshListener,
            LoadMoreListener {
        void setDisplayListItems(List<DisplayListItem> displayListItems);
    }
}
